﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucproduct_details.ascx.cs"
    Inherits="views_ucproduct_details" %>
<asp:Repeater ID="rpt_sanpham" runat="server">
    <ItemTemplate>
        <div style="width: 700px; height: auto;">
            <p style="width: 250px; min-height: 100px; float: left;">
                <img runat="server" id="image" src='<%#Eval("Image") %>' alt="" />
            </p>
            <div style="width: 450px; float: left;">
                <h1 style="color: #04A504; font-size: 16pt; height: 30px; width: 450px; line-height: 30px;
                    margin: 0; border-bottom: 1px solid #F3F3F3;"><%#Eval("Name") %>
                </h1>
                <p style="margin: 0; height: 20px; line-height: 20px; font-weight: bold; border-bottom: 1px solid #F3F3F3;">
                    Mã sản phẩm : <%# Eval("ID") %>
                </p>
                <p runat="server" id="pprice" style="color: #123456; margin: 0; height: 20px; line-height: 20px;
                    font-weight: bold; border-bottom: 1px solid #F3F3F3; text-decoration: line-through;">
                    Giá: <%# Eval("Price")%>
                    VND</p>
                <p runat="server" id="psale" style="color: Red; margin: 0; height: 20px; line-height: 20px;
                    font-weight: bold; border-bottom: 1px solid #F3F3F3;"><%# Eval("NewPrice")%>        VND</p>
                <p>
                    <%--<asp:TextBox ID="txtQly" runat="server" ></asp:TextBox>--%>
                </p>
                <p>
                    <asp:HyperLink ID="HyperLink1" NavigateUrl='<%#Eval("ID","~/views/addcart.aspx?Cart={0}") %>' runat="server">Đặt Mua</asp:HyperLink>
                </p>
                <p style="margin: 0; float: left; width: 70px;">
                    <strong>Mô tả:</strong></p>
                <p style="float: left;"><%#Eval("Descrition") %>
                </p>
            </div>
        </div>
    </ItemTemplate>
</asp:Repeater>
